package com.kmxd.ams.client.event.log;

import com.kmxd.ams.client.event.AmsEvent;
import com.kmxd.ams.core.common.enums.ArchOpEnum;
import com.kmxd.ams.infra.arrange.entity.Volume;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.ToString;

/**
 * 删除案卷
 *
 * @author nickbi
 */
@EqualsAndHashCode(callSuper = true)
@Getter
@ToString(callSuper = true)
public class VolumeLogEvent extends AmsEvent {
  private final Volume req;
  private final ArchOpEnum op;
  private final String content;

  public VolumeLogEvent(Volume req, ArchOpEnum op, String content) {
    this.req = req;
    this.op = op;
    this.content = content;
  }
}
